package win.ganbo.ssm.service;

import com.github.pagehelper.PageInfo;
import win.ganbo.ssm.entity.User;

import java.util.List;
import java.util.concurrent.Future;

/**
 *
 * @Author ganbo E-mail:bo.gan@56qq.com
 * @CreateTime 2017-08-01 20:56
 */

public interface IUserService {

    List<User> selectAll();

    PageInfo<User> queryByPage(String userName, Integer pageNo, Integer pageSize);

    /**
     * 异步调用测试
     */
    Future<String> asyncTest();

    void save(User user);
}
